Add new operation XENOPROF_get_buffer in xenoprof hypercall. Also
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 13 Sep 2006 13:05:33 +0000 (14:05 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 13 Sep 2006 13:05:33 +0000 (14:05 +0100)
commitd4b644873dd4dfe06aff9dd1c9e6cde92f99d006
tree3705acb440dd365d61ae3f80709b1f2d49aa5783
parent80f2588d2b1d9c2aba5fa1a7a0f89c02428f891c
Add new operation XENOPROF_get_buffer in xenoprof hypercall. Also
remove buffer related arguments from XENOPROF_init operation. This
is the first step to allow dynamic mapping/unmapping of xenoprof
buffers to
enable profiling a domain in passive mode and then switch to active
mode (or vice-versa). Currently a domain can only be profiled in a
single mode. Also passive domains cannot have oprofile builtin the
kernel or passive profiling will fail.

Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
linux-2.6-xen-sparse/arch/i386/oprofile/xenoprof.c
xen/arch/x86/oprofile/xenoprof.c
xen/include/public/xenoprof.h